body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
    'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
    sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

code {
  font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New',
    monospace;
}

.show{
  animation: show-item 2s ease-in forwards;
  font-size: 300px;
}

.hide{
  font-size: 300px;
  animation: hide-item 2s ease-in forwards;
}

@keyframes hide-item{
  0%{
    opacity: 1;
    color: rgb(255, 255, 255);
  }

  50%{
    opacity: 0.5;
    color: aqua;
  }

  100%{
    opacity: 0;
    color: rgb(0, 9, 128);
  }
}

@keyframes show-item{
  0%{
    opacity: 0;
    color: rgb(255, 255, 255);
  }

  50%{
    opacity: 0.5;
    color: aqua;
  }

  100%{
    opacity: 1;
    color: rgb(0, 9, 128);
  }
}

/* xxx前缀
xxx-enter
xxx-enter-active  入场前
xxx-enter-done    入场结束
xxx-exit{}
xxx-exit-active   出场前
xxx-exit-done     出场结束
*/


.boss-text-enter{
  font-size: 300px;
  opacity: 0;
}

.boss-text-enter-active{
  font-size: 300px;
  opacity: 1;
  transition: opacity 500ms;
}

.boss-text-enter-done{
  font-size: 300px;
  opacity: 1;
}

.boss-text-exit{
  font-size: 300px;
  opacity: 1;
}

.boss-text-exit-active{
  font-size: 300px;
  opacity: 0;
  transition: opacity 500ms;
}

.boss-text-exit-done{
  font-size: 300px;
  opacity: 0;
}
